<?php $this->widget('bootstrap.widgets.TbMenu', array(
	'type'=>'tabs', // '', 'tabs', 'pills' (or 'list')
	'stacked'=>false, // whether this is a stacked menu
	'items'=>array(
		array('label'=>'Организации', 'url'=>Yii::app()->createUrl('organizations/list'), 'active'=>($active=='organizations'?true:false)),
		array('label'=>'Магазины', 'url'=>Yii::app()->createUrl('shops/list'), 'active'=>($active=='shops'?true:false)),
		array('label'=>'Пользователи', 'url'=>Yii::app()->createUrl('users/list'), 'active'=>($active=='users'?true:false)),
		array('label'=>'Заемщики', 'url'=>Yii::app()->createUrl('clients/list'), 'active'=>$active=='clients'?true:false),
		array('label'=>'Рассрочки', 'url'=>Yii::app()->createUrl('credits/list'), 'active'=>($active=='credits'?true:false)),
	),
)); ?>